﻿using Abp.Application.Services;
using Abp.Application.Services.Dto;
using MyCompanyName.AbpZeroTemplate.SystemSetting.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCompanyName.AbpZeroTemplate.SystemSetting
{
    public interface ISystemSettingService : IApplicationService
    {
        /// <summary>
        /// 获得系统参数列表
        /// </summary>
        /// <returns></returns>
        PagedResultDto<SystemSettingDto> GetAgentDtoList(string SystemSettingName, int PageSize, int PageNumber);

        /// <summary>
        /// 创建系统设置
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        int CreateSystemSetting(CreateSystemSettingInput input);

        /// <summary>
        /// 更新系统设置
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        bool UpdateSystemSetting(UpdateSystemSettingInput input);

        /// <summary>
        /// 获得系统参数信息
        /// </summary>
        /// <returns></returns>
        SystemSettingDto GetSystemSettingId(int Id);
    }
}
